@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './dark-theme.scss';
@import './element-variables.scss';
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}
@font-face {
  font-family: 'iconfont';  /* project id 1810821 */
  src: url('//at.alicdn.com/t/font_1810821_s1h8pv8xiu.eot');
  src: url('//at.alicdn.com/t/font_1810821_s1h8pv8xiu.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_1810821_s1h8pv8xiu.woff2') format('woff2'),
  url('//at.alicdn.com/t/font_1810821_s1h8pv8xiu.woff') format('woff'),
  url('//at.alicdn.com/t/font_1810821_s1h8pv8xiu.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_1810821_s1h8pv8xiu.svg#iconfont') format('svg');
}
.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// 修改 elementui pagination 自带的样式
.el-pagination {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.el-pagination__jump { 
  margin-left: 0;
  margin-right: 8px;
}

.el-pagination span:not([class*=suffix]) {
  vertical-align: baseline;
}

// main-container global css
.app-container {
  padding: 20px;
}

.app-page {
  min-height: calc(100vh - 132px);
}

.app-table-action-wrap {
  text-align: right;
  padding-bottom: 4px;
}
.app-el-form-item {
  border: 1px solid #DCDFE6;
  border-radius: 4px;
  padding-left: 15px;
  padding-right: 30px;

  &:hover {
    border-color: #d1d4da;
  }
  .placeholder{
    color: #cbcfd5;
    font-size: 12px;
  }
}

.mediate-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 !important;
  max-height: 98vh;
  overflow-y: auto;
}

.map-dialog { // 地图弹窗
  margin-top: 10vh !important;
}

.el-dialog .el-dialog__footer {
  border-top: 1px solid #eaeaea;
  height: 50px;
  padding: 8px;
  box-sizing: border-box;
}